package com.jumi.microservice.material.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import io.swagger.annotations.ApiModelProperty;
import javafx.scene.paint.Material;

/**
 * @author ssk
 * @create 2020/8/5 9:23
 **/
public class JmMaterialResponse implements Serializable {

    private static final long serialVersionUID = 6755013379493984359L;

    @ApiModelProperty("物料ID")
    private Long materialId;

    @ApiModelProperty("物料编码")
    private String materialCode;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("属性名称")
    private String specName;

    @ApiModelProperty("条形码")
    private String barCode;

    @ApiModelProperty("毛重")
    private BigDecimal weight;

    @ApiModelProperty("成本价")
    private BigDecimal price;

    @ApiModelProperty("第三方编码")
    private String otherCode;

    /**
     * 可用物料库存
     */
    @ApiModelProperty("物料可用库存")
    private Integer useFulMaterialStock;

    /**
     * 破损库存
     */
    @ApiModelProperty("物料破损库存")
    private Integer damageStockNum;

    List<JmAttrValResponse> attrVals;

    public Integer getDamageStockNum()
    {
        return damageStockNum;
    }

    public void setDamageStockNum(Integer damageStockNum)
    {
        this.damageStockNum = damageStockNum;
    }

    public Integer getUseFulMaterialStock()
    {
        return useFulMaterialStock;
    }

    public void setUseFulMaterialStock(Integer useFulMaterialStock)
    {
        this.useFulMaterialStock = useFulMaterialStock;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public List<JmAttrValResponse> getAttrVals() {
        return attrVals;
    }

    public void setAttrVals(List<JmAttrValResponse> attrVals) {
        this.attrVals = attrVals;
    }

    public String getOtherCode() {
        return otherCode;
    }

    public void setOtherCode(String otherCode) {
        this.otherCode = otherCode;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
